package main

import (
	"fmt"
	"net"
)

func main() {
	conn, err := net.Dial("tcp", "127.0.0.1:8085")
	if err != nil {
		panic("连接[127.0.0.1:8085]失败")
	}

	data := make([]byte, 76*1024)
	n, err := conn.Write(data)

	if err != nil {
		panic("给server端发数据失败")
	}

	fmt.Println(n)
}
